﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace com.diagnosis.tool.xml
{
    [Serializable()]
    [System.Xml.Serialization.XmlRoot("DiagnosisToolData")]
    public class DiagnosisToolData
    {
        [XmlArray("Symptoms")]
        [XmlArrayItem("SameSymptoms", typeof(SameSymptoms))]
        public SameSymptoms[] SameSymptoms { get; set; }
        
        [XmlArray("Diseases")]
        [XmlArrayItem("Disease", typeof(Disease))]
        public Disease[] Diseases { get; set; }
    }
}
